added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2008 / VBWPFClipboardViewer / MainWindow.xaml
blob90cdacc5292f2f64d36ad97af68a5e08e4ee2197
1 <Window x:Class="MainWindow"
2     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4     Title="Clipboard Viewer" Height="480" Width="640" Background="Black" Closed="Window_Closed">
5     <Grid>
6         <Grid.RowDefinitions>
7             <RowDefinition Height="Auto"/>
8             <RowDefinition/>
9             <RowDefinition Height="Auto"/>
10         </Grid.RowDefinitions>
12         <Label Grid.Row="0" Foreground="White" Margin="6,0,6,0">Clipboard content:</Label>
14         <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
15             <Button x:Name="btnSwitch" Width="90" Height="25" Content="Start viewer" Padding="3" Margin="6,6,6,6" Click="btnSwitch_Click" />
16             <Button x:Name="btnClose" Width="90" Height="25" Content="Close" Padding="3" Margin="6,6,6,6" Click="btnClose_Click" />
17         </StackPanel>
19         <DockPanel x:Name="pnlContent" Grid.Row="1" Background="White" Margin="6,6,6,6" LastChildFill="True"/>
20     </Grid>
21 </Window>